package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.RefundList;

/**
 * 退货单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public interface RefundListMapper 
{
    /**
     * 查询退货单
     * 
     * @param id 退货单主键
     * @return 退货单
     */
    public RefundList selectRefundListById(Long id);

    /**
     * 查询退货单列表
     * 
     * @param refundList 退货单
     * @return 退货单集合
     */
    public List<RefundList> selectRefundListList(RefundList refundList);

    /**
     * 新增退货单
     * 
     * @param refundList 退货单
     * @return 结果
     */
    public int insertRefundList(RefundList refundList);

    /**
     * 修改退货单
     * 
     * @param refundList 退货单
     * @return 结果
     */
    public int updateRefundList(RefundList refundList);

    /**
     * 删除退货单
     * 
     * @param id 退货单主键
     * @return 结果
     */
    public int deleteRefundListById(Long id);

    /**
     * 批量删除退货单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRefundListByIds(Long[] ids);
}
